import Vue from 'vue'
import Router from 'vue-router'


import service from '@/view/serviceView'
import main from '@/view/mainView'
import loading from '@/view/loadingView'
// import icon from '@/view/iconView'

Vue.use(Router)

const routerData = [{
  path: '/service',
  name: 'service',
  component: service
}, {
  path: '/main',
  name: 'main',
  component: main
}, {
  path: '/',
  name: 'loading',
  component: loading
}];


export default new Router({
  routes: routerData
})
